|
|
@@ -695,7 +695,7 @@ def comment_submit_api(request):
|
695
|
695
|
# 从关注者中移除该(评论/点赞)者
|
696
|
696
|
watchers.discard(user_id)
|
697
|
697
|
# 从关注者中移除该照片所有者
|
698
|
|
- watchers.discard(group_user.user_id)
|
|
698
|
+ watchers.discard(group_photo.user_id)
|
699
|
699
|
for watcher in watchers:
|
700
|
700
|
UserMessageInfo.objects.create(
|
701
|
701
|
from_uid=user_id,
|
|
|
@@ -789,7 +789,7 @@ def thumbup_submit_api(request):
|
789
|
789
|
# 从关注者中移除该(评论/点赞)者
|
790
|
790
|
watchers.discard(user_id)
|
791
|
791
|
# 从关注者中移除该照片所有者
|
792
|
|
- watchers.discard(group_user.user_id)
|
|
792
|
+ watchers.discard(group_photo.user_id)
|
793
|
793
|
for watcher in watchers:
|
794
|
794
|
UserMessageInfo.objects.create(
|
795
|
795
|
from_uid=user_id,
|